import 'package:flutter/material.dart';

/// 描述: 颜色工具类
/// 
/// @Author tangzhentao
///  @CreatedTime 19:55 2022/6/17
/// 

class XfgColor {
  /// 主题色系列
  static const MaterialColor primarySwatch = MaterialColor(
    0xFF6C52F4,
    <int, Color>{
      50: Color(0xFFFFEBEE),
      100: Color(0xFFFFCDD2),
      200: Color(0xFFEF9A9A),
      300: Color(0xFFE57373),
      400: Color(0xFFEF5350),
      500: theme,
      600: Color(0xFFE53935),
      700: Color(0xFFD32F2F),
      800: Color(0xFFC62828),
      900: Color(0xFFB71C1C),
    },
  );

  /// 主色 产品主色调，用于需要强调突出的文字、按钮、图标
  static const Color theme = Color(0xFFE42C0D);
  static const Color transparent = Colors.transparent;
  static const Color white = Colors.white;
  static const Color black = Colors.black;
  static const Color blue = Colors.blue;
  static const Color red = Color(0xFFFF0000);
  static const Color text1D = Color(0xFF1D1D1D);
  /// 文字颜色 用于一级文字色，例如：导航栏标题字色，一级二级页面标题色
  static const Color text1 = Color(0xFF333333);
  /// 文字颜色 用于二级文字信息，例如：正文内容
  static const Color text2 = Color(0xFF666666);
  /// 文字颜色 用于极少辅助性文字
  static const Color text3 = Color(0xFF999999);
  static const Color background = Color(0xFFF8F8F8);
  static const Color colorA4 = Color(0xFFA4A4A4);
  static const Color colorB5 = Color(0xFFB5B5B5);
  static const Color colorD5 = Color(0xADD5D5D5);
  static const Color colorF2 = Color(0xFFF2F2F2);
  static const Color colorE = Color(0xFFEEEEEE);
  static const Color colorE8 = Color(0xFFE8E8E8);
  static const Color colorB8 = Color(0xFFB8B8B8);
  static const Color color4F = Color(0xFF4F4F4F);
  static const Color homeTop = Color(0xFF2D1300);
  static const Color homeRealPrice = Color(0xFFDCAC75);
  static const Color homeRealPriceValue = Color(0xFFCCBDB7);
  static const Color homeGoldSmall = Color(0xFFED711A);
  static const Color homeGoldLarge = Color(0xFFE35E00);
  static const Color cupertinoActionSure = Color(0xFF007AFF);
  static const Color itemMoney = Color(0xFFE02E24);
  static const Color radioSelected = Color(0xFFF12200);
  static const Color sexSelected = Color(0xFFEA2C2D);
  static const Color sexSelectedBg = Color(0xFFF1D5D5);
  static const Color typeSelectedBg = Color(0xFFFFEDDF);
  /// 积分标签颜色
  static const Color itemIntegration = Color(0xFFDB2C1F);
  static const Color integralMy = Color(0xFFA68645);
  static const Color integralValue = Color(0xFF563010);
  static const Color integralPlus = Color(0xFFFF4F17);
  static const Color integralExpected = Color(0xFFFFCDA9);
  static const Color integralDetailTip = Color(0xFFFFCFD8);
  static const Color integralDetailTipBg = Color(0xFFD14200);
  static const Color toExchange = Color(0xFFFFD5AD);
  static const Color inviteTitle = Color(0xFF531F08);
  static const Color activityRules = Color(0xFFFFFF89);
  static const Color goodsDetailGold = Color(0xFFA87755);
  static const Color goldRecoverTips = Color(0xFFFEEFF2);
  static const Color shopListReserveBg = Color(0xFFFFECE5);
  static const Color shopListReserve = Color(0xFFFE4F02);
  static const Color remainPoints = Color(0xFFF6F8FA);
  static const Color orderLogistics = Color(0xFF00AF66);
  static const Color withdrawalMinus = Color(0xFFFFA423);
  static const Color rankPoolBg = Color(0xFFE6DBD2);
  static const Color cancelOrderNo = Color(0xFFED7631);
  static const Color refundApplyingCirce = Color(0xFFDF781C);
  static const Color pickupCouponLeft = Color(0xFFFAE6E1);

  /// 提现渐变
  static const LinearGradient withdrawalGradient = LinearGradient(colors: [Color(0xFFFFB73D), Color(0xFFFFE2B1)], begin: Alignment.centerLeft, end: Alignment.centerRight);
  /// 商品首页渐变
  static const LinearGradient goodsHomeGradient = LinearGradient(colors: [Color(0xFFE02E24), Color(0xFFFA0D00), Color(0xFFFB1D4A)], begin: Alignment.topCenter, end: Alignment.bottomCenter);
  /// 商品详情黄金
  static const LinearGradient goodsDetailGoldGradient = LinearGradient(colors: [Color(0xFFF9F2E4), Color(0xFFF9DCB1)], begin: Alignment.centerLeft, end: Alignment.centerRight);
  /// 商品详情信息
  static const LinearGradient goodsDetailInfoGradient = LinearGradient(colors: [Color(0xFFFFEAE3), Color(0xFFF7F6FE)], begin: Alignment.topCenter, end: Alignment.bottomCenter);
  /// 商品详情对号
  static const LinearGradient goodsDetailInfoIconGradient = LinearGradient(colors: [Color(0xFFF53918), Color(0xFFFA5513)], begin: Alignment.centerLeft, end: Alignment.centerRight);
}